package rmmk.framework.gui;

import java.awt.Dimension;
import java.awt.event.MouseEvent;
import java.awt.event.MouseListener;

import javax.swing.JTabbedPane;

import rmmk.algorithms.preprocessing.OperationManager;
import rmmk.framework.gui.featureSelection.FeatureSelectionPanel;
import rmmk.framework.gui.knnParamSelection.KnnParamsPanel;
import rmmk.framework.gui.similarityMeasureSelection.SimilarityMeasurePanel;

public class LeftPanel extends JTabbedPane implements MouseListener {

	MainFrame frame;
	KnnParamsPanel knnPanel;
	SimilarityMeasurePanel simPanel;
	FeatureSelectionPanel featurePanel;
	
	private static final long serialVersionUID = 1L;

	public LeftPanel(CenterPanel centerPanel, OperationManager om) {
		
		simPanel = new SimilarityMeasurePanel(om.getSimilarityMeasureManager());
		featurePanel = new FeatureSelectionPanel(om.getFeatureManager());
		knnPanel = new KnnParamsPanel(om);
		
		addTab("Knn params",knnPanel);
		addTab("Similarity",simPanel);
		addTab("Features",featurePanel);
		setPreferredSize(new Dimension(500, 300));
		addMouseListener(this);
	}

	@Override
	public void mouseClicked(MouseEvent e) {
	}

	@Override
	public void mousePressed(MouseEvent e) {
	}

	@Override
	public void mouseReleased(MouseEvent e) {
	}

	@Override
	public void mouseEntered(MouseEvent e) {
	}

	@Override
	public void mouseExited(MouseEvent e) {
	}
}